package com.java.base.exercise.jvm;

/**
 * @Author RenPu
 * @Date 2024/2/23 11:48
 * @Version 1.0
 * @Description:
 **/
public class Teacher {

    private double saraly;

    private int age;

    public Teacher(double saraly, int age) {
        this.saraly = saraly;
        this.age = age;
    }

    public Teacher() {
    }

    public double getSaraly() {
        return saraly;
    }

    public void setSaraly(double saraly) {
        this.saraly = saraly;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
